<!DOCTYPE html>
<html lang="">

<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width,initial-scale=1.0">
  <link rel="icon" href="<%= BASE_URL %>favicon.ico">
  <title>
    <%= htmlWebpackPlugin.options.title %>
  </title>
  <style>
    @font-face {
      font-family: electronicFont;
      src: url(./DS-DIGIT.TTF);
    }
  </style>
  <style lang="css"> .el-tooltip__popper{ max-width:50%;transform: translate(-20rem);} </style>
</head>

<body>
  <noscript>
    <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
        Please enable it to continue.</strong>
  </noscript>
  <script src="https://webapi.amap.com/maps?v=1.4.15&destName=合肥市&key=cd67cfed97b5c332d41e8201f32e9cb4"></script>
  <script type="text/javascript">
    /*
    * @ pwidth 设计稿的宽度
    * @ prem 你要1rem比多少px  我的是1rem比100px
    * */
    (function (doc, win, pwidth, prem) {
      var docEl = doc.documentElement,
        resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',
        recalc = function () {
          var clientWidth = docEl.clientWidth;
          if (!clientWidth) return;
          docEl.style.fontSize = clientWidth / pwidth * prem + 'px';
        };
      if (!doc.addEventListener) return;
      win.addEventListener(resizeEvt, recalc, false);
      doc.addEventListener('DOMContentLoaded', recalc, false);
    })(document, window, 1920, 16);

  </script>
  <div id="app"></div>
  <!-- built files will be auto injected -->
</body>

</html>